﻿<s:SurfaceButton x:Class="MTBrainStorm.Views.VirtualKeyboardKey"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:s="http://schemas.microsoft.com/surface/2008"
             xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" 
             xmlns:Framework="clr-namespace:MTBrainStorm.Framework;assembly=MTBrainStorm.Framework" mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Width="30" Height="50"
             Content="{Binding Content}"
             Command="{Binding Command}" CommandParameter="{Binding Parameter}" Padding="0">
    <i:Interaction.Triggers>
        <i:EventTrigger EventName="TouchDown">
            <Framework:EventToCommand Command="{Binding Command}" CommandParameter="{Binding Parameter}" />
        </i:EventTrigger>
    </i:Interaction.Triggers>
</s:SurfaceButton>
